
//         :
// TODO_GUN -    
// TODEV -     

class_name = "CPlane"
object_name = "Fokker D.VIIF"
detail_type = "DET_PLANE" //list of types is in \inc\SimulationSystem\DetailTypes.inc

[COCKPIT_LIMITS]
x= -0.16, 0.16
y= -0.18, 0.1
z= -0.25, 0.25
[END]

[OPEN_COCKPIT_LIMITS]
x= -0.16, 0.16
y= -0.18, 0.2
z= -0.4, 0.4
[END]

//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/Planes/FokkerD7F/FokkerD7F.mgm",true,true
VisualImage=1,"graphics/Planes/FokkerD7F/FokkerD7F-C.mgm",false
DistantLOD="LuaScripts/WorldObjects/Planes/DistantLODs/FokkerD7F_Distant.txt"
DLODArgs=50380,57200
Fragment="LuaScripts/WorldObjects/Planes/Fragments/FokkerD7F_Fragment.txt"

//VisualImage=ID,model_or_effect,cast_shadows[,debris_effects]
//ID:					INT:	0 - visible everywhere, 1 - visible inside, 2 - visible outside
//model_or_effect:		STRING:	path to model file (mgm) of effect file (epl)
//cast_shadows: 		BOOL:	cast shadows from object or not
//[,debris_effects]:	BOOL:	optional parameter, show effects on object debris or not

ImageAttr=345	// IA_NOCLIP | IA_CLOSEVIEWARG | IA_NOMINPIXELS | IA_NOMINZ | IA_SCALEARG
//	IA_DEFAULT=0,
//	IA_NOCLIP=1,
//	IA_NOCLIP_ANIM=2,
//	IA_NOROTINTERPOLATION=4,
//	IA_NOMINZ=8,
//	IA_NOMINPIXELS=16,
//	IA_NOPOSINTERPOLATION=32,
//	IA_CLOSEVIEWARG=64,
//	IA_ALWAYSVISIBLE=128,
//	IA_SCALEARG=256,
//	ImageAttr=Attr1+Attr2+...+AttrN

CollisionBody="graphics/Planes/FokkerD7F/FokkerD7F.col"

SoundScript="LuaScripts/Sound/Planes/FokkerD7F.cfg"

HidePeriodAfterExplosion = 3.0

DropsArg=100
HumidityArg=101

SetCockpitArgs=false	// true -             , false -              

//CockpitArg= FetchType, CmdID, SubcmdID, ArgNum, ArgValDefault, SmoothingType, SmoothingPower, NetworkFlag
//FetchType=-1:       
//FetchType=-2:         
//FetchType=-3:          parent-
//FetchType>=0:          child-   Attach ID
//CmdID=[0..999]: ID    ,    .
//CmdID=[1000..1999]: ID    ,    .
//SubcmdID=[0..3]: ID     .
//SubcmdID=[0..1]: ID     .
//ArgNum:     / .
//ArgValDefault:      ,    .
//SmoothingType: smooth_clamp -  - 
//SmoothingType: smooth_wrap -   
//SmoothingPower:   
//NetworkFlag="":           ,  SetCockpitArgs=false
//NetworkFlag="low_freq":     ,       ,    
//NetworkFlag="med_freq":     ,       ,    
//NetworkFlag="high_freq":     ,       ,    
//NetworkFlag="granted_single":     ,       ,     

// TODEV
// 1151 -     (0 - , 1 - )
// 2300 -      (0 - , 1 -      )

//  
CockpitArg = -2, 0000, 0, 00402, 0.500, "smooth_clamp", 0.0, "" //  -   
CockpitArg = -2, 1000, 0, 00406, 0.500, "smooth_clamp", 0.0, "" //  -   
CockpitArg = -2, 1000, 1, 00407, 0.500, "smooth_clamp", 0.0, "" //  -   
//  
CockpitArg = -2, 0100, 0, 01100, 0.000, "smooth_clamp", 0.1, "" //    ( )
CockpitArg = -2, 0100, 0, 01101, 0.000, "smooth_clamp", 0.1, "" //  ( )
CockpitArg = -2, 0106, 3, 01102, 0.000, "smooth_clamp", 0.1, "" //  
CockpitArg = -2, 0102, 3, 01182, 0.000, "smooth_clamp", 0.1, "" //    
CockpitArg = -2, 0103, 0, 01152, 0.000, "smooth_clamp", 0.1, "" //  
CockpitArg = -2, 0105, 3, 01030, 0.000, "smooth_wrap" , 0.1, "" //    
CockpitArg = -2, 0353, 1, 02301, 0.000, "smooth_clamp", 0.1, "" // 
CockpitArg = -2, 0353, 3, 02361, 0.000, "smooth_clamp", 0.1, "" //     
CockpitArg = -2, 0354, 3, 02362, 0.000, "smooth_clamp", 0.1, "" //    
//        
CockpitArg = -2, 1200, 0, 03102, 0.000, "smooth_clamp", 0.1, "" // RPM
CockpitArg = -2, 0202, 1, 03172, 0.000, "smooth_clamp", 0.1, "" //  
CockpitArg = -2, 1203, 0, 02531, 0.000, "smooth_clamp", 0.1, "" //     
CockpitArg = -2, 0350, 0, 02501, 1.000, "smooth_clamp", 0.1, "" // 
// - 
CockpitArg = -2, 0400, 0, 08511, 0.000, "smooth_wrap",  0.1, "" //  -  
CockpitArg = -2, 0400, 1, 08512, 0.000, "smooth_wrap",  0.1, "" //  -  
CockpitArg = -2, 1400, 0, 08513, 0.000, "smooth_wrap",  0.1, "" //  -  
CockpitArg = -2, 0401, 2, 00206, 0.500, "smooth_clamp", 0.5, "" //   
CockpitArg = -2, 0401, 3, 00205, 0.500, "smooth_clamp", 0.5, "" //   
CockpitArg = -2, 1400, 1, 00204, 0.000, "smooth_wrap",  0.2, "" //  
CockpitArg = -2, 1401, 1, 08012, 0.500, "smooth_wrap",  0.2, "" //    ()
CockpitArg = -2, 1403, 0, 08201, 0.000, "smooth_clamp", 0.1, "" //   () 
CockpitArg = -2, 1402, 0, 08251, 0.000, "smooth_clamp", 0.1, "" //    - 
CockpitArg = -2, 0402, 0, 08253, 0.877, "smooth_wrap",  0.1, "" //    -  . Default = 760 ...
//  
CockpitArg = -2, 0434, 1, 06010, 0.580, "smooth_clamp", 0.1, "" //   . Default = 145 .
//   ()
CockpitArg = -2, 0431, 1, 04301, 0.000, "smooth_clamp", 0.1, "" //     
CockpitArg = -2, 0430, 1, 60210, 0.000, "smooth_clamp", 0.0, "" //   
//  
CockpitArg = -2, 0477, 0, 09071, 0.000, "smooth_wrap",  0.1, "" //     -  
CockpitArg = -2, 0477, 1, 09072, 0.000, "smooth_wrap",  0.1, "" //     -  
CockpitArg = -2, 0477, 2, 09073, 0.000, "smooth_wrap",  0.1, "" //     -  
CockpitArg = -2, 0478, 0, 09081, 0.000, "smooth_wrap",  0.1, "" //     -  
CockpitArg = -2, 0478, 1, 09082, 0.000, "smooth_wrap",  0.1, "" //     -  
CockpitArg = -2, 0478, 2, 09083, 0.000, "smooth_wrap",  0.1, "" //     -  

//   :
// 11310, 11330, 11334 - hide     
// 11311,11312,11313, 11331,11332,11333 -     ( )
// 20001 -    
// 20002 - motion blure  

//  .:
// 19001 -   
// 19002 -   
// 19003 -  (    3D-)
// 19004 - 
// 19005 -    
// 19007 - 
// 19008 -    

//   :
// 0


[attach=0]
	position= -1.38, 0.05, 0
	object = "LuaScripts/WorldObjects/Bots/BotPilot_FokkerDr1.txt"
[end]

[attach=1]
	position= -1.4, 1.0, 0.5
	rotation= 45, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

[attach=2]
	position= 0.0, 0.0, 0.0
	object = "LuaScripts/WorldObjects/Spotter.txt"
[end]

[attach=3]
	position= -0.998, 0.998, -1.966
	rotation= 90, 0, 6.5
	convex = "Krilo_Top_L_1"
//	object = "LuaScripts/WorldObjects/Banner.txt"
[end]

AttachedCameras = "LuaScripts/WorldObjects/fixcameras/Planes/FokkerD7F.txt"

BannerAttachID=3
CustomPhotoArg=55

SendRate=5,50	//normal, attached state

CommandMonitor="LuaScripts/WorldObjects/FokkerMonitor.txt"


//////	Controled body specific
CockpitFocus=0.5,-1,0,65,0.7

Plane_Class="CAeroplane_Fokker_D_VIIF"

InitialSpeedInAir = 120.0 // ,      , /

//  ,   aimingHelper()
Gun_Coord0= 0.024, 0.669,-0.145
Gun_Coord1= 0.024, 0.669, 0.145
Deviation0= 3, 2, 0.9, 0.02, 0.1
Deviation1= 3, 2, 0.9, 0.02, 0.1

ParallaxDistance = 150.0

MinCartridgeCaseTime = 0.05 //       

FTCoord=-0.327,0.2,0
PPCoord=-0.77,0.263,0

FlarePos= -1.4, 1.0, 0.5
FlareDir= 0.0, 0.7, 0.7
FlarePath="LuaScripts/WorldObjects/Ballistics/Flare.txt"

GunsightPosition = -0.142,0.778,0.0

//   

[WeaponMode=0]
	WMname="default"
	WMgroup="default"
	PlaneModArg=-1
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[Gun=0]
		GunType = "LuaScripts/WorldObjects/Weapons/MG_ROF_LMG_08_15.txt"
		MaxReservedMagazines = 0
		WeaponGroup1 = true //  
		AttachToPart = "Fuse_0"
		DamageConvex = "~gun01_ammo"
		ProbabilityOfHit = 0.05
		CarriagePosition = 0.024, 0.669, -0.145 //      (  )   
		CarriageYawPitchRoll = 0.0, 0.0, 0.0
		CarriageMass = 0.01 //  
		CarriageMassPosition_inCarriageAxis = 0.0, 0.0, 0.0
		CarriageMOI_inCarriageAxis = 0.016, 0.016, 0.016, 0, 0, 0 //   
		CarriageCxaS = 0.0 //  
		CarriageDragPosition = 0.024, 0.669, -0.145 //  
		DefaultGunPosition = 0.024, 0.669, -0.145 //   
		DefaultGunYawPitchRoll = 0.0, 0.0, 0.0
		DefaultGunCxaS = 0.0 //  
		DefaultGunDragPosition = 0.024, 0.669, -0.145 //  
		BarrelTemperatureDecreaseCorrectionData = 1.0, 4.0, 300.0
		CarriageAdditionalBulletDispertionAngle = 0.0315723, 0.061884	//      ,     -3  102.4..118  200.    "  "  -2 54  50.
		AmmunitionAttachToPart = "Fuse_0" //  CollisionBox   ,      
		AmmunitionPosition = 0.0, 0.0, 0.0 //  ..      , [] // TODO_GUN
		CartridgeCasesEjection = true
		CartridgeCasesEjectionPosition = -0.766, 0.627, -0.175 //           , []
		CartridgeCasesEjectionSpeed = -0.5, 1.0, -1.0 //            , [/]
		FireButtonArgIdx = 9000
		HideAmmunitionArgIdx = 9045
		AmmunitionMovingArgIdx = 9048
		AzimuthDeviationArgIdx = 9012
		ElevationDeviationArgIdx = 9013
		FlashAnimationArgIdx = 9040
		DrawAnimationArgIdx = 1, 9016 //     ,     
		DrawAnimationArgIdx = 2, 9017 //   
		DrawAnimationArgIdx = 3, 9070 //     
		FlashAnimationGroup = 0 // Light Arg 60220
		GunSoundsIdx = 1
		ShotSoundType = 1
		AfterServiceOperationDelay = 0.3
		ReArmTime = 60 //  
		isElectroTrigger = false
		IsOnlyMechanicalManualCocking = true
		IsTwoManualCockingMethods = false
		[Synchronizer=1] // Fokker Zentralsteuerung,    (    RPM), 2   1   ,   -12.23
			minRPM = 200.0
			Point = 358.0, 0.0
			Point = 360.0, 0.4
			Point = 0.0, 0.4
			Point = 3.0, 1.0
			Point = 8.0, 0.0
			Point = 178.0, 0.0
			Point = 183.0, 1.0
			Point = 188.0, 0.0
		[end]
	[end]

	[Gun=1]
		GunType = "LuaScripts/WorldObjects/Weapons/MG_ROF_LMG_08_15.txt"
		MaxReservedMagazines = 0
		WeaponGroup1 = true //  
		AttachToPart = "Fuse_0"
		DamageConvex = "~gun01_ammo"
		ProbabilityOfHit = 0.05
		CarriagePosition = 0.024, 0.669, 0.145 //      (  )   
		CarriageYawPitchRoll = 0.0, 0.0, 0.0
		CarriageMass = 0.01 //  
		CarriageMassPosition_inCarriageAxis = 0.0, 0.0, 0.0
		CarriageMOI_inCarriageAxis = 0.016, 0.016, 0.016, 0, 0, 0 //   
		CarriageCxaS = 0.0 //  
		CarriageDragPosition = 0.024, 0.669, 0.145 //  
		DefaultGunPosition = 0.024, 0.669, 0.145 //   
		DefaultGunYawPitchRoll = 0.0, 0.0, 0.0
		DefaultGunCxaS = 0.0 //  
		DefaultGunDragPosition = 0.024, 0.669, 0.145 //  
		BarrelTemperatureDecreaseCorrectionData = 1.0, 4.0, 300.0
		CarriageAdditionalBulletDispertionAngle = 0.0315723, 0.061884	//      ,     -3  102.4..118  200.    "  "  -2 54  50.
		AmmunitionAttachToPart = "Fuse_0" //  CollisionBox   ,      
		AmmunitionPosition = 0.0, 0.0, 0.0 //  ..      , [] // TODO_GUN
		CartridgeCasesEjection = true
		CartridgeCasesEjectionPosition = -0.766, 0.627, 0.175 //           , []
		CartridgeCasesEjectionSpeed = -0.5, 1.0, 1.0 //            , [/]
		FireButtonArgIdx = 9001
		HideAmmunitionArgIdx = 9055
		AmmunitionMovingArgIdx = 9058
		AzimuthDeviationArgIdx = 9022
		ElevationDeviationArgIdx = 9023
		FlashAnimationArgIdx = 9050
		DrawAnimationArgIdx = 1, 9026 //     ,     
		DrawAnimationArgIdx = 2, 9027 //   
		DrawAnimationArgIdx = 3, 9080 //     
		FlashAnimationGroup = 0 // Light Arg 60220
		GunSoundsIdx = 2
		ShotSoundType = 1
		AfterServiceOperationDelay = 0.3
		ReArmTime = 60 //  
		isElectroTrigger = false
		IsOnlyMechanicalManualCocking = true
		IsTwoManualCockingMethods = false
		[Synchronizer=1] // Fokker Zentralsteuerung,    (    RPM), 2   1   ,   +12.23
			minRPM = 200.0
			Point = 22.0, 0.0
			Point = 27.0, 1.0
			Point = 32.0, 0.0
			Point = 202.0, 0.0
			Point = 207.0, 1.0
			Point = 212.0, 0.0
		[end]
	[end]
[end]

[WeaponMode=1]
	WMname="FokkerD7F_Sight_Day"
	WMgroup="1"
	PlaneModArg=19001
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.507, 0.626, 0.0
		Mass = 2.0
		CxaS = 0.01
	[end]
[end]

[WeaponMode=2]
	WMname="FokkerD7F_Sight_Night"
	WMgroup="1"
	PlaneModArg=19002
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.507, 0.626, 0.0
		Mass = 2.0
		CxaS = 0.01
	[end]
[end]

[WeaponMode=3]
	WMname="FokkerD7F_IronSight"
	WMgroup="1"
	PlaneModArg=19003
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.153, 0.668, 0.0
		Mass = 0.5
		CxaS = 0.002
	[end]
[end]

[WeaponMode=4]
	WMname="FokkerD7F_SpeedGauge"
	WMgroup="2"
	PlaneModArg=19004
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.577, 0.431, -0.284
		Mass = 0.5
		CxaS = 0.0
	[end]
[end]

[WeaponMode=5]
	WMname="FokkerD7F_AltitudeGauge"
	WMgroup="3"
	PlaneModArg=19005
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.577, 0.431, -0.284
		Mass = 0.5
		CxaS = 0.0
	[end]
[end]

[WeaponMode=6]
	WMname="FokkerD7F_TempGauge"
	WMgroup="4"
	PlaneModArg=19007
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.577, 0.431, -0.284
		Mass = 0.5
		CxaS = 0.0
	[end]
[end]

[WeaponMode=7]
	WMname="FokkerD7F_CockpitLight"
	WMgroup="5"
	PlaneModArg=19008
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.618, 0.319, -0.284
		Mass = 0.5
		CxaS = 0.0
	[end]
[end]


//   

[Ammunition=0]
	WeaponModes=0
	AnimationVal=0.0
	name="0,1-LMG0815-AP-1000"
	GunAmmunition0=1
	GunAmmunition1=1
	Bomb0=-1
	PrimaryAimingGun=0
[end]
[Ammunition=1]
	WeaponModes=0
	AnimationVal=0.0
	name="0,1-LMG0815-AP-500"
	GunAmmunition0=0
	GunAmmunition1=0
	Bomb0=-1
	PrimaryAimingGun=0
[end]

[Ammunition=2]
	WeaponModes=0
	AnimationVal=0.0
	name="empty"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=-1
	PrimaryAimingGun=0
[end]

[Ammunition=3]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenWhiteOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=0, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=4]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenWhiteTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=1, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=2, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=5]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenBlueOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=3, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=6]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenBlueTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=4, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=5, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=7]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenRedOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=6, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=8]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenRedTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=7, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=8, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=9]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenGreenOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=9, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=10]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenGreenTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=10, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=11, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=11]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenYellowOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=12, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=12]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenYellowTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=13, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=14, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=13]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenBlackOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=15, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=14]
	WeaponModes=0
	AnimationVal=0.0
	name="SmokeGenBlackTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=16, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=17, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]

DefaultAmmunition=0

//  

[GunAmmunition=0]
	ExpendableMass = 1.0 //  RoF     .       - TODEV ?
	ResidualMass = 0 // TODEV ?
	MaxMisFiresInMagazine=2
	MaxRoundsInMagazine=500
	RoundsInMagazine=250
	ReservedMagazines=0
	AmountRoundsWithOneTracer=3	//  3-   
	TracerIdx=0
	object0="LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_GER_7-92x57_APsmk.txt"
	BushConfig = "LuaScripts/WorldObjects/Trash/Batch_case07-08mm.txt"
[end]
[GunAmmunition=1]
	ExpendableMass = 1.0 //  RoF     .       - TODEV ?
	ResidualMass = 0 // TODEV ?
	MaxMisFiresInMagazine=3
	MaxRoundsInMagazine=500
	RoundsInMagazine=500
	ReservedMagazines=0
	AmountRoundsWithOneTracer=3	//  3-   
	TracerIdx=0
	object0="LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_GER_7-92x57_APsmk.txt"
	BushConfig = "LuaScripts/WorldObjects/Trash/Batch_case07-08mm.txt"
[end]

//   

[attach=20]
	position= -4.560,0.319,0.532
	convex = "Fuse_3"
	rotation= 0, 0, 5.0
[end]
[attach=21]
	position= -0.293,1.045,-3.764
	Convex = "Krilo_Top_L_3"
	rotation= 0, 0, 0.0
[end]
[attach=22]
	position= -0.293,1.045,3.764
	Convex = "Krilo_Top_R_3"
	rotation= 0, 0, 0.0
[end]

//  

[BombHolder=0]
	AttachIdx = 20
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -4.560,0.319,0.532
	convex = "Fuse_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 1 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=1]
	AttachIdx = 21
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,-3.764
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 1 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=2]
	AttachIdx = 22
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,3.764
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 1 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=3]
	AttachIdx = 20
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -4.560,0.319,0.532
	convex = "Fuse_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 2 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=4]
	AttachIdx = 21
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,-3.764
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 2 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=5]
	AttachIdx = 22
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,3.764
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 2 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=6]
	AttachIdx = 20
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -4.560,0.319,0.532
	convex = "Fuse_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 3 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=7]
	AttachIdx = 21
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,-3.764
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 3 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=8]
	AttachIdx = 22
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,3.764
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 3 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=9]
	AttachIdx = 20
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -4.560,0.319,0.532
	convex = "Fuse_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 4 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=10]
	AttachIdx = 21
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,-3.764
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 4 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=11]
	AttachIdx = 22
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,3.764
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 4 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=12]
	AttachIdx = 20
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -4.560,0.319,0.532
	convex = "Fuse_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 5 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=13]
	AttachIdx = 21
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,-3.764
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 5 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=14]
	AttachIdx = 22
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,3.764
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 5 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=15]
	AttachIdx = 20
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -4.560,0.319,0.532
	convex = "Fuse_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 6 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=16]
	AttachIdx = 21
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,-3.764
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 6 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=17]
	AttachIdx = 22
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.293,1.045,3.764
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 6 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

rec_cockpit_arg=1

SmoothControlFactor=0

//,    ,       ,   
ObjectRadius=5.5

[Entrance]
	EntrancePos = -1.380, 0.050, 0
	EntranceRot = 0, 0, 0
	JumpDir = 0, 3, -3
[end]
[Entrance]
	EntrancePos = -1.380, 0.050, 0
	EntranceRot = 0, 0, 0
	JumpDir=2,6,1
	SelectorDir=0,2,0	//        2/
[end]

//   
SectorLimits = -180.0, -175.0, -13.0, +90.0
SectorLimits = -175.0, -150.0, -40.0, +90.0
SectorLimits = -150.0, -86.0, -60.0, +90.0
SectorLimits = -86.0, -65.0, -19.0, +90.0
SectorLimits = -65.0, -40.0, -28.0, +90.0
SectorLimits = -40.0, -15.0, -37.0, +90.0
SectorLimits = -15.0,  -5.0, -25.0, +90.0
SectorLimits =  -5.0,  +5.0, -5.0, +90.0
SectorLimits =  +5.0, +15.0, -25.0, +90.0
SectorLimits = +15.0, +40.0, -37.0, +90.0
SectorLimits = +40.0, +65.0, -28.0, +90.0
SectorLimits = +65.0, +86.0, -19.0, +90.0
SectorLimits = +86.0, +150.0, -60.0, +90.0
SectorLimits = +150.0, +175.0, -40.0, +90.0
SectorLimits = +175.0, +180.0, -13.0, +90.0

//AIRPLANE DAMAGE

[PlanePartProtection]
	PartName = "~eng01"
	DirectHitArmor = 5.0
	SphereHitProtection = 5.0
[end]

SphereHitProtection=0

[SphereProtectionBoxOpen]	//    ,        ,   ,     SphereHitProtection=
	FovH=90					//          ,     ,  ArmorFront
	FovV=90					//          ,     ,  ArmorFront
							//  5        
	ArmorFront=5
	ArmorBack=0
	ArmorTop=0
	ArmorBottom=0
	ArmorRight=0
	ArmorLeft=0
[end]

[SphereProtectionBoxClose]	//    ,        ,   ,     SphereHitProtection=
	FovH=90					//          ,     ,  ArmorFront
	FovV=90					//          ,     ,  ArmorFront
							//  5        
	ArmorFront=5
	ArmorBack=0
	ArmorTop=0
	ArmorBottom=0
	ArmorRight=0
	ArmorLeft=0
[end]

TrashWood="LuaScripts/WorldObjects/Trash/Trash.txt"
TrashArmor="LuaScripts/WorldObjects/Trash/Trash.txt"

//  
logtreshold=0.0001

energyloss="",true,0.01,0.0				//    , true -       -,       ,        
energyloss="~ftank01",true,0.7,10000	// 
energyloss="~gun01_ammo",true,0.7,20000	// 
energyloss="~eng01",true,5.0,20000		//
energyloss="~eng01_scr1",true,2.5,1000	//


SeekMaintenance = true
ReFuelFlow = 2 // liters per second
RepairTime = 300 // seconds


/////   

min_CAS = 85
max_CAS = 310

DangerAoA = 12.0			// -   
CriticalAoA = 15.0			//   
Maxny = 5.5					// -  (: 8.3  V=310   )
minV = 85.0					// -   (V = V / sqrt(0.9)   )
DangerV = 310.0				//    
TakeOffV = 90.0				//   
ClimbV = 117.0				//     
WaterMaxTemperature = 100	// -    
IsLeftPedal = false			//     (true - , false - )

//IsTakeOffFlaps = false			//      
//MaxGearV = 0						// -     
//MaxFlapV = 0						// -      
//minVDeltaFlaps = 0				//    ,    
//DescendV = 0						//    
//OilMaxTemperature = 0				// -    
//CylinderHeadMaxTemperature = 0	// -     
